package com.xmy.erp.service.impl;

import com.xmy.erp.entity.AppointSchool;
import com.xmy.erp.mapper.AppointSchoolMapper;
import com.xmy.erp.service.IAppointSchoolService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 指定校区 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@Service
public class AppointSchoolServiceImpl extends ServiceImpl<AppointSchoolMapper, AppointSchool> implements IAppointSchoolService {
    @Autowired
    AppointSchoolMapper appointSchoolMapper;

    @Override
    public List<Long> getSchoolIdListForForId(Long forId, Integer type){
        return  appointSchoolMapper.getSchoolIdListForForId(forId,type);
    }
}
